#include "../include/shape.h"

void drawRectangleRoundedCenter(float x, float y, float width, float height, float roundness, int segments, Color color) {
    float rx = x - width / 2;
    float ry = y - height / 2;
    DrawRectangleRounded((Rectangle){rx, ry, width, height}, roundness, segments, color);
}

void drawRectangleCenter(float x, float y, float width, float height, Color color) {
    float rx = x - width / 2;
    float ry = y - height / 2;
    DrawRectangle((int)rx, (int)ry, (int)width, (int)height, color);
}
